package com.briup.bms.web.vm;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author: Paocha
 * @date: 2021-11-23-17:01
 */
@Data
public class OrderVo {
    private Integer id;

    private Integer customerId;

    private String customer;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dateOrdered;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date dateShipped;

    private Integer salesRepId;

    private String saleName;

    private Double total;

    private String paymentType;

    private String orderFilled;
}
